#ifndef __SENSOR_OV5640_H__
#define __SENSOR_OV5640_H__

#include <cyu3types.h>

/* Set OV5640 Sensor to generate video data of Format : YUY2, Resolution :
 * Resolution1  2592 x 1944 */
extern CyU3PReturnStatus_t CyCx3_Set_OV5640_YUY2_Resolution1();

/* Set OV5640 Sensor to generate video data of Format : YUY2, Resolution :
 * Resolution2  1920 x 1080 */
extern CyU3PReturnStatus_t CyCx3_Set_OV5640_YUY2_Resolution2();

/* Set OV5640 Sensor to generate video data of Format : YUY2, Resolution :
 * Resolution3  1280 x 720 */
extern CyU3PReturnStatus_t CyCx3_Set_OV5640_YUY2_Resolution3();

/* Set OV5640 Sensor to generate video data of Format : YUY2, Resolution :
 * Resolution4  640 x 480 */
extern CyU3PReturnStatus_t CyCx3_Set_OV5640_YUY2_Resolution4();

/* Initialize Image Sensor. */
extern CyU3PReturnStatus_t CyCx3ImageSensorInit(void);

/* Put Image Sensor to Sleep/Low Power Mode. */
extern CyU3PReturnStatus_t CyCx3ImageSensorSleep(void);

/* Wake Image Sensor from Sleep/Low Power Mode to Active Mode. */
extern CyU3PReturnStatus_t CyCx3ImageSensorWakeup(void);

/* Trigger Autofocus for the Sensor. */
extern CyU3PReturnStatus_t CyCx3ImageSensorTriggerAutofocus(void);

#endif /* _INCLUDED_CY_CX3_IMAGESENSOR_H_ */

/*[]*/